set user=sa
set pass=sa
set host=(local)
set db=SplendidCRM

for /f %%a IN ('dir /b update.*.sql') do sqlcmd -S "%host%" -d "%db%" -U "%user%" -P "%pass%" -i "%%a"